//
//  RootController.h
//  Ghac 4S
//
//  Created by apple on 11-10-14.
//  Copyright (c) 2011年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Global.h"
//#import "ScrollablePageControl.h"
#import "ScrollPagesContainer.h"
#import "MyPageControl.h"
#import "MyNavigationBarController.h"

@class InnerViewController;

@interface RootController : UIViewController <ScrollPagesContainerDelegate, MainViewSwitchAction>
{
    NSMutableArray*                 m_pageViewControllers;
    MyNavigationBarController*      m_navigationBarController;
    InnerViewController*            m_innerViewController;
}
-(void) initForScrollPages;
-(void) initForDetailPages;
-(void) initforMainFrame;
-(void) initFotInnerView;
-(void) showInnerView:(UIViewController*)contentViewController;


@property (nonatomic, retain) IBOutlet ScrollPagesContainer*    pageContainer;
@property (nonatomic, retain) IBOutlet MyPageControl*           pageControlBar;
@property (nonatomic, retain) IBOutlet UIView*                  scrollPagesView;
@property (nonatomic, retain) IBOutlet UIView*                  detailPagesView;
@end
